import request from '@/utils/request'

// 列表
export const getBookList = (params: any) => {
    return request({
      method: 'get',
      url: `/api/mini-library/books/list`,
      params,
    })
  }

// 借书
export const borrow = (bookId: any) => {
    return request({
      method: 'post',
      url: `/api/mini-library/borrow/${bookId}`,
    })
  }





